package com.vogue.supplymall.payment.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import com.vogue.supplymall.common.config.BaseAppConfig;

/**
 * 发布远程调用的服务
 * @author cy
 *
 */
@Component
@Order(1)
public class PublishServicesRunner extends BaseAppConfig implements ApplicationRunner {

    public static final Logger LOGGER_PUBLISHSERVICESRUNNER = LoggerFactory.getLogger(PublishServicesRunner.class);

    @Override
    public void run(ApplicationArguments args) throws Exception {
        initAkkaServer();
    }
}
